import { effectKey, quality } from "../../../../../shared/face/enums"
import { EffectClassType, SkillType, TargetType, LogType } from "../../../../../shared/face/enums"
import { _Skill } from "../../../types"
import { BuffConfig } from '../../../types';
/**
 * 技能基础效果
 */
let data: _Skill[] = []
data.push({
    id: 'AU0001',
    quality:quality.F,
    classType: EffectClassType.辅助型,
    name: '见证终焉的回响',
    desc: '游戏开始,对敌方全体造成一次魔法攻击，并且附加[终焉]效果(每回合扣除敌方1生命,如果敌方死于[终焉]效果,那么自身生命回复到100%)',
    data: [
        {
            attKey: '魔法攻击',
            attRange: 1
        }
    ],
    effect: [effectKey.伤害类_普通攻击],
    buffs: [
        {
            id: '1',
            name: '终焉',
            logType: LogType.伤害,
            duration: NaN,
            effectType: '持续伤害',
            damage: 1,
            damageType: '真实攻击'
        } as BuffConfig
    ],
    cooldown: 0,
    type: SkillType.光环技能,
    targetType: [TargetType.敌方],
    maxLevel: 15 // 设置最大等级为15级
})
export default data;